﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TemplateMethodPattern
{
    /// <summary>
    /// 具體模版類
    /// </summary>
    public class ConcreteClassOne : AbstractClass
    {
        //實現基本方法
        protected override void doAnything()
        {
            Console.WriteLine("ConcreteClassOne - doAnything");
        }

        protected override void doSomething()
        {
            Console.WriteLine("ConcreteClassOne - doSomething");
        }
    }
}
